package com.cn.mmd.service;

import com.cn.mmd.mapper.WinnersPrizeMapper;
import com.cn.mmd.model.WinnersPrize;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * Created by Administrator on 2016/12/14.
 */
@Service("winnersPrizeService")
public class WinnersPrizeServiceImpl implements WinnersPrizeService {

    @Autowired
    private WinnersPrizeMapper winnersPrizeMapper;

    @Override
    public int updateByPrimaryKeySelective(WinnersPrize record) {
        return winnersPrizeMapper.updateByPrimaryKeySelective(record);
    }

    @Override
    public int insertSelective(WinnersPrize record) {
        return winnersPrizeMapper.insertSelective(record);
    }

    @Override
    public List<WinnersPrize> selectBySid(WinnersPrize winnersPrize) {
        return winnersPrizeMapper.selectBySid(winnersPrize);
    }
}
